/**
 * @Author: Yosoo
 * @Date: 2025/5/17 11:30
 * @Description:
 */
package com.sky.mapper;

import com.sky.annotation.AutoFill;
import com.sky.entity.SetmealDish;
import com.sky.enumeration.OperationType;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SetmealDishesMapper {


    Integer countByDishIds(List<Long> ids);

    /**
     * 批量添加套餐与菜品之间关系
     * @Author:     Yosoo
     * @Date:       2025/5/19 08:47
     * @Description:
     * @param setmealDishes
     */
    void insertBatch(List<SetmealDish> setmealDishes);

    /**
     * 根据套餐id删除套餐菜品关系
     * @Author:     Yosoo
     * @Date:       2025/5/19 10:06
     * @Description:
     * @param ids
     */
    void deleteBySetmealIds(List<Long> ids);
}
